runtime.gcControllerState.heapInUse (field)
15 uses
runtime (current package)
arena.go#L885: gcController.heapInUse.add(-int64(s.npages * pageSize))
arena.go#L1079: gcController.heapInUse.add(int64(userArenaChunkBytes))
mgc.go#L1408: memstats.lastHeapInUse = gcController.heapInUse.load()
mgcpacer.go#L358: heapInUse sysMemStat // bytes in mSpanInUse spans
mgcscavenge.go#L151: return gcController.heapInUse.load() + gcController.heapFree.load()
mgcscavenge.go#L707: (gcController.heapInUse.load()*100)/heapRetained(), "% util",
mheap.go#L1410: gcController.heapInUse.add(int64(nbytes))
mheap.go#L1576: inUse := gcController.heapFree.load() + gcController.heapReleased.load() + gcController.heapInUse.load()
mheap.go#L1766: gcController.heapInUse.add(-int64(nbytes))
mstats.go#L438: totalMapped := gcController.heapInUse.load() + gcController.heapFree.load() + gcController.heapReleased.load() +
mstats.go#L465: if gcController.heapInUse.load() != uint64(consStats.inHeap) {
mstats.go#L466: print("runtime: heapInUse=", gcController.heapInUse.load(), "\n")
mstats.go#L475: heapRetained := gcController.heapInUse.load() + gcController.heapFree.load()
mstats.go#L514: stats.HeapSys = gcController.heapInUse.load() + gcController.heapFree.load() + gcController.heapReleased.load()
mstats.go#L532: stats.HeapInuse = gcController.heapInUse.load()
 |
The pages are generated with Golds v0.8.4. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |